
 
 D C . s e t P o s i t i o n ( d o m E l e m e n t ,   i n t P o s V a l ,   b o o l S a v e ) 
 
 
 
 D e s c r i p t i o n :   S e t   a n   a u t o - p o s i t i o n   v a l u e   t o   v i s u a l l y   p o s i t i o n   D C . w r a p p e r   r e l a t i v e   t o   i t s   t r i g g e r i n g   e l e m e n t   o r   a   s p e c i f i e d   t a r g e t . 
 
 
 
 R e t u r n s :   D C   O b j e c t . 
 
 
 
 N o t e :   T h e   r e f e r e n c e d   e l e m e n t   m u s t   b e   a   D O M   n o d e ,   a n d   t h e   C S S   s t y l i n g   f o r   D C . w r a p p e r   m u s t   b e   a b s o l u t e l y   p o s i t i o n e d .   T h e   i n t P o s V a l   n u m b e r   r e f e r s   t o   t h e   a c c e p t e d   v a l u e s   f o r   t h e   D C . a u t o P o s i t i o n   p r o p e r t y .   W h e n   b o o l S a v e   i s   s e t   t o   t r u e ,   t h e   D C . a u t o P o s i t i o n   p r o p e r t y   w i l l   a u t o m a t i c a l l y   s a v e   t h e   n e w   i n t P o s V a l   n u m b e r   f o r   f u t u r e   p r o c e s s i n g   w h e n   t h e   D C   o b j e c t   i s   r e r e n d e r e d . 
 
 
 
 / * 
 
 A c c e p t e d   V a l u e s   f o r   D C . a u t o P o s i t i o n   ( i n t P o s V a l ) 
 
 "   0 :   D i s a b l e d   
 
 "   1 :   A b o v e / C e n t e r / L e f t   E d g e   A l i g n e d   
 
 "   2 :   A b o v e / R i g h t / R i g h t   E d g e   A l i g n e d   
 
 "   3 :   L e v e l / R i g h t / R i g h t   E d g e   A l i g n e d   
 
 "   4 :   B e l o w / R i g h t / R i g h t   E d g e   A l i g n e d   
 
 "   5 :   B e l o w / C e n t e r / L e f t   E d g e   A l i g n e d   
 
 "   6 :   B e l o w / L e f t / L e f t   E d g e   A l i g n e d   
 
 "   7 :   L e v e l / L e f t / L e f t   E d g e   A l i g n e d   
 
 "   8 :   A b o v e / L e f t / L e f t   E d g e   A l i g n e d   
 
 "   9 :   L e v e l / C e n t e r / L e f t   E d g e   A l i g n e d   
 
 "   1 0 :   A b o v e / C e n t e r / R i g h t   E d g e   A l i g n e d   
 
 "   1 1 :   L e v e l / C e n t e r / R i g h t   E d g e   A l i g n e d   
 
 "   1 2 :   B e l o w / C e n t e r / R i g h t   E d g e   A l i g n e d     
 
 * / 
 
 
 
 E x a m p l e : 
 
 
 
 D C . s e t P o s i t i o n ( d o m E l e m e n t ,   5 ) ; 
 
 